package com.mywang.weitravel.modules.mine;

import com.mywang.weitravel.base.BaseContract;
import com.mywang.weitravel.model.CollectionResponse;

import java.util.List;

public interface CollectionContract {
    interface View extends BaseContract.IView {
        void onRefreshSuccessful(List<CollectionResponse.CollectItem> collections, boolean hasMore);

        void onLoadMoreSuccessful(List<CollectionResponse.CollectItem> collections, boolean hasMore);

        void noData();

        void refreshOrLoadMoreCompleted();
    }

    interface Presenter extends BaseContract.IPresenter<CollectionContract.View> {
        void onRefresh();

        void onLoadMore();
    }
}
